package creationPattern.Factory.Factory_02.service.impl;

import creationPattern.Factory.Factory_02.entity.AwardInfo;
import creationPattern.Factory.Factory_02.entity.ResponseResult;
import creationPattern.Factory.Factory_02.service.IFreeGoods;

public class YouKuMemberService implements IFreeGoods {
    /**
     * 发奖品
     * @return
     */
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        System.out.println("向用户发送优酷会员" + awardInfo.getExtMap().get("phone") + "-----" + awardInfo.getExtMap().get("awardNumber"));

        return new ResponseResult("200","发放优酷会员成功");
    }
}
